package xuwei_k

case class GitProject(
    userId:String,
    repository:String,
    consumerKey:String,
    consumerSecret:String,
    accessToken:String,
    accessTokenSecret:String,
    hashtag:String,
    branch:String = "master"
  ){
  
  val entryKey = userId + "-" + repository

  val commitApiUrl = {
    new java.net.URL(
      "http://github.com/api/v2/xml/commits/list/"
      + userId +"/" + repository + "/" + branch
    )
  }
}
